<?php $preloadjs=explode(",", "jform.js");$jspath="/js/"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ANTBBS</title>

<?php if (isset($preloadcss) && is_array($preloadcss)) foreach($preloadcss as $v) {echo '<link href="'.$csspath.$v.'" rel="stylesheet" type="text/css" />';}?>
<script type="text/javascript" src="/js/global.min.js"></script>
<?php  if (isset($preloadjs) && is_array($preloadjs)) foreach($preloadjs as $v) {echo '<script type="text/javascript" src="'.$jspath.$v.'"></script>';}?>
<script type="text/javascript">
$(function(){
	
});
</script>
<style>

</style>
<style>body{
	font-size:62.5%;font-family:Verdana, Geneva, sans-serif, "宋体";padding:0px;margin:0px;
	*background-image:url(about:blank);*background-attachment:fixed;/*必要，防抖动*/
}
.clear{clear:both;}
div,ul,li,input,select{margin:0px;padding:0px;height:auto;}
ul,li{list-style:none;}
#top{
	position:fixed !important;position:absolute;z-index:9999;width:100%;
	height:30px;line-height:30px;background:url(/images/topbg.jpg) 0px 0px repeat;top:0px;
}
#topbar{width:980px;margin:0px auto;height:36px;}
#header{height:86px;width:980px;margin:0px auto;border:1px solid #CCC;}
#content{height:386px;width:980px;margin:0px auto;border:1px solid #CCC;}
#bootom{}
#footer{width:980px;margin:10px auto;text-align:center;line-height:30px;border-top:1px dashed #CCC;}


#bbsarea{margin:10px auto;width:980px;height:autop;}
#areatitle{border:1px solid #C2D5E3;;padding-left:10px;width:968px;height:31px;line-height:31px;background:url(/images/default/titlebg.png) 0px 0px repeat #E5EDF2;font-weight:bold;}
#bbsblock_container{border:1px solid #BCBCBC;width:948px;padding:15px;}
#bbsblock{float:left;width:316px;}
.bbsblock_bottomline{width:948px;border-bottom:1px dashed #CDCDCD;margin:10px auto;}


.page_panel_class{height:35px;line-height:35px;margin:0px auto;text-align:center;}
.page_panel_class a{text-decoration:none;color:#666;}
.page_panel_class .page_item{display:inline-block;border:1px solid #C2D5E3;padding:0px 6px;height:22px;line-height:22px;}
.page_panel_class .page_current{background-color:#E5EDF2;font-weight:bolder;}
.page_panel_class .page_first_label{padding-left:15px;background:url(/public/images/arw_l.gif) no-repeat;background-position:0px;}
.page_panel_class .page_last_label{padding-right:15px;background:url(/public/images/arw_r.gif) no-repeat;background-position:55px;}
</style></head>

<body>

<?php if (is_array($areaList)) foreach ($areaList as $id=>$area) { ?>
<div id="bbsarea">
	<div id="areatitle"><?php if(isset($area['name'])){echo $area['name'];}?></div>
	<div id="bbsblock_container">
		<?php $i=0;$len=count($area['children']); 
		 if (is_array($area['children'])) foreach ($area['children'] as $childid=>$child) { 
		 $i++;?>
		<div id="bbsblock">
		<a href="index.php?a=area/view&id=<?php if(isset($childid)){echo $childid;}?>"><?php if(isset($child['name'])){echo $child['name'];}?></a>
		</div>
		<?php if (($i>1 && ($i%3 == 1)) || $i==$len) {?><div class="clear"></div><?php } 
		 } ?>
	</div>
</div>
<?php } ?>

</body>
</html>